﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/MasterPage.master" AutoEventWireup="true"
    CodeFile="TestMaster.aspx.cs" Inherits="Test_TestMaster" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TabTitle" runat="Server">
    Demo
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <div style="width: 100%;">
        <div id="MainContent_Panel1" class="queryDiv1">
            <fieldset class="fieldsetCss">
                <legend><span class="querytextCss">查询条件</span> </legend>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="querytableCss">
                    <tr>
                        <td class="querytexttdCss">
                            员工编号
                        </td>
                        <td class="querycoltdCss">
                            <asp:TextBox ID="TextBox4" runat="server" CssClass="textCss1"></asp:TextBox>
                        </td>
                        <td class="querytexttdCss">
                            员工姓名
                        </td>
                        <td class="querycoltdCss">
                            <asp:TextBox ID="TextBox5" runat="server" CssClass="textCss1"></asp:TextBox>
                        </td>
                        <td class="querytexttdCss">
                            电话
                        </td>
                        <td class="querycoltdCss">
                            <asp:TextBox ID="TextBox6" runat="server" CssClass="textCss1"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="querytexttdCss">
                            部门
                        </td>
                        <td class="querycoltdCss">
                            <asp:TextBox ID="TextBox1" runat="server" CssClass="textCss1"></asp:TextBox>
                        </td>
                        <td class="querytexttdCss">
                            Email
                        </td>
                        <td class="querycoltdCss">
                            <asp:TextBox ID="TextBox7" runat="server" CssClass="textCss1"></asp:TextBox>
                        </td>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <div style="text-align: center;">
                    <asp:Button ID="Button1" runat="server" Text="查询" />
                    &nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" Text="下载" />
                </div>
            </fieldset>
        </div>
        <div class="GridDivCss">
            <IMC:GridView ID="gvEMPList" runat="server" AllowPaging="true" AllowSorting="true"
                PageSize="2">
                <Columns>
                    <asp:TemplateField HeaderText="员工编号" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            &nbsp;<asp:Label ID="lbEMPNbr" runat="server" Text='<%#Eval("EMPNbr")%>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="员工姓名" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            &nbsp;<asp:Label ID="lbEMPName" runat="server" Text='<%#Eval("Name")%>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="电话" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            &nbsp;
                            <asp:Label ID="lbEMPTel" runat="server" Text='<%#Eval("Tel")%>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </IMC:GridView>
        </div>
    </div>
</asp:Content>
